﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

using Weazel.Toad.Application.Items;

#endregion

namespace Weazel.Toad.Application.Actions
{
  public class SaveSelectedItemAction : ActionBase
  {
    public SaveSelectedItemAction()
    {
      Enabled = false;
    }

    public override void Execute(object sender, EventArgs e)
    {
      ItemBase item = Application.Instance.SelectedItem;
      item.Save();
    }
  }
}
